﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Freetour.Web.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            if(Request.Cookies[""

            return View();
        }
        public ActionResult SearchCriteria()
        {
            var provinceLst = new List<string>
            {
                "AAA", "BBB", "CCC"
            };

            var cityLst = new List<string>
            {
                "aaa", "bbb", "ccc"
            };

            var priceLst = new List<string>
            {
                "低于 200 RMB", "200 - 500", "500 以上"
            };

            ViewData["province"] = provinceLst;
            ViewData["city"] = cityLst;
            ViewData["priceRange"] = priceLst;

            return PartialView("SearchCriteriaForm");
        }
    }
}
